//
//  UIScrollView+Category.h
//  就到
//
//  Created by MT on 2017/11/24.
//  Copyright © 2017年 MT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MJRefresh.h"
@interface UIScrollView (Category)
/** 添加头部刷新 */
-(void)addHeaderRefresh:(MJRefreshComponentRefreshingBlock)block;
/** 开始头部刷新 */
-(void)beginHeaderRefresh;
/** 结束头部刷新 */
-(void)endHeaderRefresh;

/** 添加底部自动刷新 */
-(void)addAutoFooterRefresh:(MJRefreshComponentRefreshingBlock)block;
/** 添加底部返回刷新 */
-(void)addBackFooterRefresh:(MJRefreshComponentRefreshingBlock)block;
/** 开始底部刷新 */
-(void)beginFooterRefresh;
/** 结束底部刷新 */
-(void)endFooterRefresh;

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event ;

- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event ;

- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event ;
@end
